package com.jf.yytgd.converter;

import com.jf.yytgd.entity.bean.Comment;
import com.jf.yytgd.entity.dto.comment.CommentCreateDTO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

/**
 * Created with IntelliJ IDEA
 * Description: 评论转换器
 * User:22954
 * Date:2025-02-10
 * Time:1:53
 */
@Mapper
public interface CommentConverter {
    CommentConverter INSTANCE = Mappers.getMapper(CommentConverter.class);

    Comment toBean(CommentCreateDTO commentDTO);
}
